package service;

import java.util.List;

import Dao.StudentInfoDao;
import entity.StudentInfo;

public class StudentInfoService {
	 public StudentInfoDao studao=new StudentInfoDao();
	
	public List<StudentInfo> getList(){
		return studao.getList();
	}
	public StudentInfo getStu(String sname){
		return studao.getStu(sname);
	}
	public int deteleStu(int sid){
		return studao.deteleStu(sid);
	}
	public int updateStu(StudentInfo stu){
		return studao.updateStu(stu);		
	}
}
